<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        body{
            display: flex;
            justify-content: center;
            align-items: center;
        }
        h1{
            color: red;
        }
        input[type='text']{
            height: 20px;
            width: 300px;
            border-color: red;
        }
        input[type='submit']{
            height: 24px;
            background-color: red;
            border-color: red; 
            color: #fff;
            
          vertical-align: middle;
        }
    </style>
</head>
<body>
    <h1>淘宝搜索</h1>
    <input type="text" name="" id=""><input type="submit"value="搜索" name="" id="">
</body>
</html>